//
//  ShoppingList.m
//  HelloList2
//
//  Created for CSE494
//

#import "ShoppingList.h"


@implementation ShoppingList
@synthesize myList;
@synthesize ShoppingList;

- (id)init
{
    self = [super init];
    if (self) {
        /* class-specific initialization goes here */
		
		self.myList = [NSMutableArray arrayWithCapacity:5];
    }
    return self;
}

- (void)addItem:(NSString*)item {
	if (item != nil) { //null
		[self.myList addObject:item];
		// java: this.myList.addObject(item);
	}
}











@end
